package com.zq.it.pojo.exam;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.zq.it.pojo.Teacher;

/**
 * TQuestions entity. @author MyEclipse Persistence Tools
 */

public class TQuestions implements java.io.Serializable {

	// Fields

	private long id;
	private Teacher teacher;
	private TQuestionDb TQuestionDb;
	private Integer QType;
	private Integer status;
	private String content;
	private Date postDate;
	private String keyDesc;
	private String skey;
	private Set TOptionses = new HashSet(0);

	public TQuestions() {
	}

	public TQuestions(long id, Teacher teacher, TQuestionDb tQuestionDb,
			Integer qType, Integer status, String content, Date postDate,
			String keyDesc, String skey, Set tOptionses) {
		super();
		this.id = id;
		this.teacher = teacher;
		TQuestionDb = tQuestionDb;
		QType = qType;
		this.status = status;
		this.content = content;
		this.postDate = postDate;
		this.keyDesc = keyDesc;
		this.skey = skey;
		TOptionses = tOptionses;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public TQuestionDb getTQuestionDb() {
		return TQuestionDb;
	}

	public void setTQuestionDb(TQuestionDb tQuestionDb) {
		TQuestionDb = tQuestionDb;
	}

	public Integer getQType() {
		return QType;
	}

	public void setQType(Integer qType) {
		QType = qType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPostDate() {
		return postDate;
	}

	public void setPostDate(Date postDate) {
		this.postDate = postDate;
	}

	public String getKeyDesc() {
		return keyDesc;
	}

	public void setKeyDesc(String keyDesc) {
		this.keyDesc = keyDesc;
	}

	public String getSkey() {
		return skey;
	}

	public void setSkey(String skey) {
		this.skey = skey;
	}

	public Set getTOptionses() {
		return TOptionses;
	}

	public void setTOptionses(Set tOptionses) {
		TOptionses = tOptionses;
	}

}